
class RobListModel {
  String? collectionName;
  String? msg;
  int? status;
  String? tokenId;

  RobListModel({this.collectionName, this.msg, this.status, this.tokenId});

  RobListModel.fromJson(Map<String, dynamic> json) {
    collectionName = json["collectionName"];
    msg = json["msg"];
    status = json["status"];
    tokenId = json["tokenId"];
  }

  static List<RobListModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(RobListModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["collectionName"] = collectionName;
    _data["msg"] = msg;
    _data["status"] = status;
    _data["tokenId"] = tokenId;
    return _data;
  }

  RobListModel copyWith({
    String? collectionName,
    String? msg,
    int? status,
    String? tokenId,
  }) => RobListModel(
    collectionName: collectionName ?? this.collectionName,
    msg: msg ?? this.msg,
    status: status ?? this.status,
    tokenId: tokenId ?? this.tokenId,
  );
}